/*
 * @FilePath: \VFD_GD32\BSP\inc\drv_rtc.h
 * @Description: 
 * 
 * Copyright (c) 2025 by ${w}, All Rights Reserved. 
 */

#ifndef DRV_RTC__H_
#define DRV_RTC__H_

void rtcInit(void);
void rtcTimerUpdate(uint8_t hour, uint8_t minute, uint8_t second);
uint8_t bcd_to_decimal(uint8_t bcd_value);
uint8_t decimal_to_bcd(uint8_t decimal);
void SEC_Handler(void);

extern rtc_parameter_struct g_tRTC;

#endif // !DRV_RTC__H_

